$(function(){
	/************************************业务******************************************************/
	//到货单
	$("#u8").css("cursor","pointer");
	$("#u8").click(function(e) { 
		addGTabByid('到货入库','ds_fx_jh1','');   
	});
	$("#u10").css("cursor","pointer");
	$("#u10").click(function(e) { 
		addGTabByid('到货入库','ds_fx_jh1','');   
	});
	//到货退货单
//	$("#u11").css("cursor","pointer");
//	$("#u11").click(function(e) { 
//		addGTabByid('到货退货','ds_fx_jh2','');   
//	});
//	$("#u13").css("cursor","pointer");
//	$("#u13").click(function(e) { 
//		addGTabByid('到货退货','ds_fx_jh2','');   
//	});
//	$("#u11").css("cursor","pointer");
//	$("#u11").click(function(e) { 
//		addGTabByid('到货退货','','');   
//	});
//	$("#u13").css("cursor","pointer");
//	$("#u13").click(function(e) { 
//		addGTabByid('到货退货','','');   
//	});
	//客户添货    
	$("#u11").css("cursor","pointer");
	$("#u11").click(function(e) { 
		addGTabByid('客户添货','ds_fx_zd1','');   
	});
	$("#u13").css("cursor","pointer");
	$("#u13").click(function(e) { 
		addGTabByid('客户添货','ds_fx_zd1','');   
	});
	//新书分发
	$("#u14").css("cursor","pointer");
	$("#u14").click(function(e) { 
		addGTabByid('新书分发','ds_fx_ff_clients2','');   
	});
	$("#u16").css("cursor","pointer");
	$("#u16").click(function(e) { 
		addGTabByid('新书分发','ds_fx_ff_clients2','');   
	});
	//待发货区 
	$("#u122").css("cursor","pointer");
	$("#u122").click(function(e) { 
		addGTabByid('待发货区 ','ds_fx_hand_out1','');   
	});
	$("#u124").css("cursor","pointer");
	$("#u124").click(function(e) { 
		addGTabByid('待发货区 ','ds_fx_hand_out1','');   
	});
	//销售单     
	$("#u17").css("cursor","pointer");
	$("#u17").click(function(e) { 
		addGTabByid('销售出库 ','ds_fx_xs2','');   
	});
	$("#u19").css("cursor","pointer");
	$("#u19").click(function(e) { 
		addGTabByid('销售出库 ','ds_fx_xs2','');   
	});
	//销售销退单 	
	$("#u20").css("cursor","pointer");
	$("#u20").click(function(e) { 
		addGTabByid('销售退货','ds_fx_xs1','');   
	});
	$("#u22").css("cursor","pointer");
	$("#u22").click(function(e) { 
		addGTabByid('销售退货','ds_fx_xs1','');   
	});
	//库存分析
	$("#u32").css("cursor","pointer");
	$("#u32").click(function(e) { 
		addGTabByid('库存查询','ds_fxStocksReport','');   
	});
	$("#u34").css("cursor","pointer");
	$("#u34").click(function(e) { 
		addGTabByid('库存查询','ds_fxStocksReport','');   
	});
	//加印申请
//	$("#u109").css("cursor","pointer");
//	$("#u109").click(function(e) { 
//		addGTabByid('加印申请','ds_yz_reprint1_fx','');   
//	});
//	$("#u111").css("cursor","pointer");
//	$("#u111").click(function(e) { 
//		addGTabByid('加印申请','ds_yz_reprint1_fx','');   
//	});
	//客户库存
	$("#u23").css("cursor","pointer");
	$("#u23").click(function(e) { 
		addGTabByid('客户库存','ds_fx_xs_client1','');   
	});
	$("#u25").css("cursor","pointer");
	$("#u25").click(function(e) { 
		addGTabByid('客户库存','ds_fx_xs_client1','');   
	});
	$("#u25,#u23").attr("title","功能说明：请输入客户的销售数，结合发退数据得到客户库存!");
	//实销实结
	$("#u26").css("cursor","pointer");
	$("#u26").click(function(e) { 
		addGTabByid('实销实结','ds_fx_client_sxsj1','');   
	});
	$("#u28").css("cursor","pointer");
	$("#u28").click(function(e) { 
		addGTabByid('实销实结','ds_fx_client_sxsj1','');   
	});
	//活动费用
	$("#u29").css("cursor","pointer");
	$("#u29").click(function(e) { 
		addGTabByid('活动费用','ds_fx_xs_fee1','');   
	});
	$("#u31").css("cursor","pointer");
	$("#u31").click(function(e) { 
		addGTabByid('活动费用','ds_fx_xs_fee1','');   
	});
	
	/************************************业务财务******************************************************/
	//商品返点
	$("#u116").css("cursor","pointer");
	$("#u116").click(function(e) { 
		addGTabByid('商品返点','ds_fx_prod_disc_modify1','');   
	});
	$("#u118").css("cursor","pointer");
	$("#u118").click(function(e) { 
		addGTabByid('商品返点','ds_fx_prod_disc_modify1','');   
	});
//	//客户返点
//	$("#u113").css("cursor","pointer");
//	$("#u113").click(function(e) { 
//		addGTabByid('客户返点','','');   
//	});
//	$("#u115").css("cursor","pointer");
//	$("#u115").click(function(e) { 
//		addGTabByid('客户返点','','');   
//	});
	//客户费用单
	$("#u35").css("cursor","pointer");
	$("#u35").click(function(e) { 
		addGTabByid('客户费用','ds_fx_fy_clients1','');   
	});
	$("#u37").css("cursor","pointer");
	$("#u37").click(function(e) { 
		addGTabByid('客户费用','ds_fx_fy_clients1','');   
	});

	//对账结算单
	$("#u38").css("cursor","pointer");
	$("#u38").click(function(e) { 
		addGTabByid('对账结算','ds_fx_clients_jslist1','');   
	});
	$("#u40").css("cursor","pointer");
	$("#u40").click(function(e) { 
		addGTabByid('对账结算','ds_fx_clients_jslist1','');   
	});
	
	//开票申请
	$("#u41").css("cursor","pointer");
	$("#u41").click(function(e) { 
		addGTabByid('开票申请','ds_fx_invoice_kp1','');   
	});
	$("#u43").css("cursor","pointer");
	$("#u43").click(function(e) { 
		addGTabByid('开票申请','ds_fx_invoice_kp1','');   
	});
	
	//收款单
	$("#u44").css("cursor","pointer");
	$("#u44").click(function(e) { 
		addGTabByid('客户收款','ds_fx_charge1','');   
	});
	$("#u46").css("cursor","pointer");
	$("#u46").click(function(e) { 
		addGTabByid('客户收款','ds_fx_charge1','');   
	});

	//预收单
	$("#u47").css("cursor","pointer");
	$("#u47").click(function(e) { 
		addGTabByid('客户预收','13003','');   
	});
	$("#u49").css("cursor","pointer");
	$("#u49").click(function(e) { 
		addGTabByid('客户预收','13003','');   
	});
	//银行到款单
	$("#u136").css("cursor","pointer");
	$("#u136").click(function(e) { 
		addGTabByid('银行到款单','ds_fx_bank_daokuan1','');   
	});
	$("#u138").css("cursor","pointer");
	$("#u138").click(function(e) { 
		addGTabByid('银行到款单','ds_fx_bank_daokuan1','');   
	});
	//回款计划
	$("#u50").css("cursor","pointer");
	$("#u50").click(function(e) { 
		addGTabByid('回款计划','ds_fx_clients_hkplan1','');   
	});
	$("#u52").css("cursor","pointer");
	$("#u52").click(function(e) { 
		addGTabByid('回款计划','ds_fx_clients_hkplan1','');   
	});
	

	//折扣策略
	$("#u53").css("cursor","pointer");
	$("#u53").click(function(e) { 
		addGTabByid('折扣策略','ds_fx_tj_price1','');   
	});
	$("#u55").css("cursor","pointer");
	$("#u55").click(function(e) { 
		addGTabByid('折扣策略','ds_fx_tj_price1','');   
	});
	//销售折扣调整
	$("#u115").css("cursor","pointer");
	$("#u115").click(function(e) { 
		addGTabByid('销售折扣调整','ds_fx_xs_disc_modify1','');   
	});
	$("#u113").css("cursor","pointer");
	$("#u113").click(function(e) { 
		addGTabByid('销售折扣调整','ds_fx_xs_disc_modify1','');   
	});
	//票款核销
//	$("#u116").css("cursor","pointer");
//	$("#u116").click(function(e) { 
//		addGTabByid('票款核销','ds_fx_xs_invch1','');   
//	});
//	$("#u118").css("cursor","pointer");
//	$("#u118").click(function(e) { 
//		addGTabByid('票款核销','ds_fx_xs_invch1','');   
//	});
	/************************************其它业务******************************************************/
	//组套管理
	$("#u67").css("cursor","pointer");
	$("#u67").click(function(e) { 
		addGTabByid('套装信息','ds_fx_zt_book1','');   
	});
	$("#u68").css("cursor","pointer");
	$("#u68").click(function(e) { 
		addGTabByid('组套','ds_fx_zt2','');   
	});
	$("#u69").css("cursor","pointer");
	$("#u69").click(function(e) { 
		addGTabByid('拆套','ds_fx_ct1','');   
	});
	
	//上架
	$("#u73").css("cursor","pointer");
	$("#u73").click(function(e) { 
		addGTabByid('上架','ds_fx_shelves_sjxj1','');   
	});
	//下架
	$("#u74").css("cursor","pointer");
	$("#u74").click(function(e) { 
		addGTabByid('下架','ds_fx_shelves_sjxj2','');   
	});
	//调架 
	$("#u75").css("cursor","pointer");
	$("#u75").click(function(e) { 
		addGTabByid('调架','ds_fx_shelves_tj1','');   
	});
	
		
	//其他入库单	
	$("#u59").css("cursor","pointer");
	$("#u59").click(function(e) { 
		addGTabByid('其它入库','ds_fx_os_rk1','');   
	});
	$("#u61").css("cursor","pointer");
	$("#u61").click(function(e) { 
		addGTabByid('其它入库','ds_fx_os_rk1','');   
	});
	
	//其他出库单
	$("#u62").css("cursor","pointer");
	$("#u62").click(function(e) { 
		addGTabByid('其它出库','ds_fx_os_ck1','');   
	});
	$("#u64").css("cursor","pointer");
	$("#u64").click(function(e) { 
		addGTabByid('其它出库','ds_fx_os_ck1','');   
	});
	
	//架号分布
	$("#u76").css("cursor","pointer");
	$("#u76").click(function(e) { 
		addGTabByid('架号分布','ds_fx_shelves_amount1','');   
	});
	$("#u78").css("cursor","pointer");
	$("#u78").click(function(e) { 
		addGTabByid('架号分布','ds_fx_shelves_amount1','');   
	});
	//仓库调拨
	$("#u56").css("cursor","pointer");
	$("#u56").click(function(e) { 
		addGTabByid('仓库调拨','ds_fx_stocks_db1','');    //21201
	});
	$("#u58").css("cursor","pointer");
	$("#u58").click(function(e) { 
		addGTabByid('仓库调拨','ds_fx_stocks_db1','');   //21201
	});	
	//印数确认单
	$("#u143").css("cursor","pointer");
	$("#u143").click(function(e) { 
		addGTabByid('发行-印数确认单','ds_bj_ysqr1_fx','');    //21201
	});
	$("#u145").css("cursor","pointer");
	$("#u145").click(function(e) { 
		addGTabByid('发行-印数确认单','ds_bj_ysqr1_fx','');   //21201
	});	
	//加印申请
	$("#u146").css("cursor","pointer");
	$("#u146").click(function(e) { 
		addGTabByid('发行-加印申请','ds_yz_reprint1_fx','');    //21201
	});
	$("#u148").css("cursor","pointer");
	$("#u148").click(function(e) { 
		addGTabByid('发行-加印申请','ds_yz_reprint1_fx','');   //21201
	});	
	

	/************************************** 发行统计表***************************************************/
	//新书分发汇总
	$("#u79").css("cursor","pointer");
	$("#u79").click(function(e) { 
		addGTabByid('新书分发汇总','ds_fx_proplan_real_detail','');   
	});
	//渠道分发汇总
	$("#u80").css("cursor","pointer");
	$("#u80").click(function(e) { 
		addGTabByid('渠道分发汇总','ds_fx_product_plan_real','');   
	});
	//业务员分发汇总
	$("#u87").css("cursor","pointer");
	$("#u87").click(function(e) { 
		addGTabByid('业务员分发汇总','ds_fx_proplan_real_ywy','');   
	});
	//客户应收统计
	$("#u90").css("cursor","pointer");
	$("#u90").click(function(e) { 
		addGTabByid('客户应收统计','ds_client_ys_analysis','');   
	});
	//客户退货率统计
	$("#u93").css("cursor","pointer");
	$("#u93").click(function(e) { 
		addGTabByid('客户退货率统计','ds_gaochoupay_report','');   
	});
	//客户库存统计
	$("#u96").css("cursor","pointer");
	$("#u96").click(function(e) { 
		addGTabByid('客户库存统计','ds_fx_cxsstock_analysis','');   
	});
	//活动费用统计
	$("#u99").css("cursor","pointer");
	$("#u99").click(function(e) { 
		addGTabByid('活动费用统计','ds_fx_activity_fee_analysis','');   
	});
	//发货统计（按商品分类）
	$("#u106").css("cursor","pointer");
	$("#u106").click(function(e) { 
		addGTabByid('发货统计（按商品分类）','ds_fx_xs_htype_analysis','');   
	});
	//发货统计（按业务员）
	$("#u109").css("cursor","pointer");
	$("#u109").click(function(e) { 
		addGTabByid('发货统计（按业务员）','ds_fx_xs_oid_analysis','');   
	});
	//发货统计（按客户）
	$("#u112").css("cursor","pointer");
	$("#u112").click(function(e) { 
		addGTabByid('发货统计（按客户）','ds_fx_xs_clients_analysis','');   
	});	
	
	//客户占用库存统计
	$("#u121").css("cursor","pointer");
	$("#u121").click(function(e) { 
		addGTabByid('客户占用库存统计','ds_lock_stock_analysis','');   
	});
	/*
	//商品信息
	$("#u37").css("cursor","pointer");
	$("#u37").click(function(e) { 
		addGTabByid('商品信息','ds_bs_product1_fx','');   
	});
	//客户信息
	$("#u44").css("cursor","pointer");
	$("#u44").click(function(e) { 
		addGTabByid('客户信息','ds_bs_clients1','');   
	});
	//供应商信息
	$("#u73").css("cursor","pointer");
	$("#u73").click(function(e) { 
		addGTabByid('供应商信息','ds_bs_vendors1','');   
	});
	//出版社信息
	$("#u47").css("cursor","pointer");
	$("#u47").click(function(e) { 
		addGTabByid('出版社信息','ds_bs_publisher1_fx','');   
	});
	//库房信息
	$("#u75").css("cursor","pointer");
	$("#u75").click(function(e) { 
		addGTabByid('库房信息','ds_bs_stocks1','');   
	});
	//商品对照信息
	$("#u35").css("cursor","pointer");
	$("#u35").click(function(e) { 
		addGTabByid('商品对照信息','ds_fx_comparison1','');   
	});
	//客户对照信息
	$("#u77").css("cursor","pointer");
	$("#u77").click(function(e) { 
		addGTabByid('客户对照信息','ds_fx_comparison2','');   
	});
	//供应商对照表
	$("#u79").css("cursor","pointer");
	$("#u79").click(function(e) { 
		addGTabByid('供应商对照表','ds_fx_comparison3','');   
	});
	//发行对照信息
	$("#u81").css("cursor","pointer");
	$("#u81").click(function(e) { 
		addGTabByid('发行对照信息','ds_fx_comparison4','');   
	});
	//其它对照信息
	$("#u83").css("cursor","pointer");
	$("#u83").click(function(e) { 
		addGTabByid('其它对照信息','ds_fx_comparison5','');   
	});
	//客户月结单
//	$("#u52").css("cursor","pointer");
//	$("#u52").click(function(e) { 
//		addGTabByid('成本重算','','');   
//	});
//	$("#u54").css("cursor","pointer");
//	$("#u54").click(function(e) { 
//		addGTabByid('成本重算','','');   
//	});
	//供应商费用单	--货源费用单
//	$("#u24").css("cursor","pointer");
//	$("#u24").click(function(e) { 
//		addGTabByid('供应商费用单','ds_fx_fy_vendor1','');   
//	});
//	$("#u31").css("cursor","pointer");
//	$("#u31").click(function(e) { 
//		addGTabByid('供应商费用单','ds_fx_fy_vendor1','');   
//	});
	//收发票
//	$("#u42").css("cursor","pointer");
//	$("#u42").click(function(e) { 
//		addGTabByid('收发票','ds_fx_invoice_sp1','');   
//	});
//	$("#u28").css("cursor","pointer");
//	$("#u28").click(function(e) { 
//		addGTabByid('收发票','ds_fx_invoice_sp1','');   
//	});
	//预付单
//	$("#u").css("cursor","pointer");
//	$("#u").click(function(e) { 
//		addGTabByid('预付单','','');   //11307
//	});
//	$("#u").css("cursor","pointer");
//	$("#u").click(function(e) { 
//		addGTabByid('预付单','','');   //11307
//	});
//	//付款单
//	$("#u10").css("cursor","pointer");
//	$("#u10").click(function(e) { 
//		addGTabByid('付款单','ds_fx_pay1','');   
//	});
//	$("#u26").css("cursor","pointer");
//	$("#u26").click(function(e) { 
//		addGTabByid('付款单','ds_fx_pay1','');   
//	});
//	$("#u56").css("cursor","pointer");
//	$("#u56").click(function(e) { 
//		addGTabByid('预付单','','');   //11307
//	});
//	$("#u60").css("cursor","pointer");
//	$("#u60").click(function(e) { 
//		addGTabByid('预付单','','');   //11307
//	});
//	//付款单
//	$("#u10").css("cursor","pointer");
//	$("#u10").click(function(e) { 
//		addGTabByid('付款单','ds_fx_pay1','');   
//	});
//	$("#u26").css("cursor","pointer");
//	$("#u26").click(function(e) { 
//		addGTabByid('付款单','ds_fx_pay1','');   
//	});
//	//调架管理
//	$("#u74").css("cursor","pointer");
//	$("#u74").click(function(e) { 
//		addGTabByid('调架管理','ds_bs_file1','');   
//	});
//	$("#u76").css("cursor","pointer");
//	$("#u76").click(function(e) { 
//		addGTabByid('调架管理','ds_bs_file1','');   
//	});
*/
})
